package com.yf.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * GPS历史
 *
 * @author wangbiao
 * @date 2016-08-17 15：43
 */
@ApiModel
public class GPSHistory implements Serializable {

    private static final long serialVersionUID = -8597922484949455543L;

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    /**
     * 车辆ID
     */
    @ApiModelProperty(value = "车辆ID")
    private Integer vehicleId;

    /**
     * 车牌
     */
    @ApiModelProperty(value = "车牌")
    private String carPlate;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    /**
     * 朝向
     */
    @ApiModelProperty(value = "朝向")
    private String head;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getVehicleId() {
        return vehicleId;
    }

    public void setVehicleId(Integer vehicleId) {
        this.vehicleId = vehicleId;
    }

    public String getCarPlate() {
        return carPlate;
    }

    public void setCarPlate(String carPlate) {
        this.carPlate = carPlate;
    }

    public BigDecimal getLongitude() {
        return longitude;
    }

    public void setLongitude(BigDecimal longitude) {
        this.longitude = longitude;
    }

    public BigDecimal getLatitude() {
        return latitude;
    }

    public void setLatitude(BigDecimal latitude) {
        this.latitude = latitude;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

}
